﻿using System;
namespace ORS.OrderRobot.ServiceContracts.Dtos
{
	public class AccountDto
	{
        public int Id { get; set; }
        /// <summary>
        /// 邮箱
        /// </summary>
        public string Email { get; set; }
        /// <summary>
        /// 密码
        /// </summary>
        public string Password { get; set; }
        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime CreateTime { get; set; }
        /// <summary>
        /// 最后登录日期
        /// </summary>
        public DateTime? LastLoginTime { get; set; }
        /// <summary>
        /// 账号关联的最近一条登机牌信息
        /// </summary>
        public AccountBoardingDto? CurrentBoarding { get; set; }
        /// <summary>
        /// 是否是启用状态
        /// </summary>
        public bool IsActive { get; set; } = true;
    }
}

